import postApi from "../../utils/http/api";

export default {

  /** 64.1评测列表 */
  getMyEvaluateList() {
    return postApi({
      actionCode: "500104",
      method: "getMyEvaluateList",
      size: "10000",
      requestData: {},
    })
  },
  /** 64.2获取评测详情 */
  getEvaluateById(id) {
    return postApi({
      actionCode: "500104",
      method: "getEvaluateById",
      requestData: {id},
    })
  },
  /** 64.3提交测评 */
  submitEvaluateAnswer(examId, answers) {
    return postApi({
      actionCode: "500104",
      method: "submitEvaluateAnswer",
      requestData: {examId, questionList:answers},
    })
  },
  /** 64.4获取测评测试结果 */
  getMyEvaluateResultDetailById(targetUserid, id, resultId) {
    return postApi({
      actionCode: "500104",
      method: "getMyEvaluateResultDetailById",
      requestData: {targetUserid, id, resultId},
    })
  },
  /** 64.5获取团队评测列表结果 */
  getOrgEvaluateResultList() {
    return postApi({
      actionCode: "500104",
      method: "getNewOrgEvaluateResultList",
      requestData: {},
    })
  },

}

